﻿
namespace Sharp.Portal.Configuration
{
    /// <summary>
    /// 配置项记录
    /// </summary>
    public class ConfigurationItem
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="title">标题</param>
        /// <param name="key">The key.</param>
        /// <param name="javascript">The javascript.</param>
        public ConfigurationItem(string title, string key, string javascript)
        {
            this.Title = title;
            this.Key = key;
            this.Javascript = javascript;
        }
        /// <summary>
        /// 标题
        /// </summary>
        /// <value>标题</value>
        public string Title { get; set; }
        /// <summary>
        /// 参数Key
        /// </summary>
        /// <value>The key.</value>
        public string Key { get; set; }
        /// <summary>
        /// 浏览器脚本，用于实时更新客户端配置
        /// </summary>
        /// <value>The javascript.</value>
        public string Javascript { get; set; } 
    }
}
